<template>
  <v-app>
    <!-- <v-navigation-drawer app> </v-navigation-drawer>
    <v-app-bar app> </v-app-bar> -->
    <slot name="header"></slot>
    <!-- 根据应用组件来调整你的内容 -->
    <v-main tag="div" :style="`background:${backgroundColor}`">
      <!-- 给应用提供合适的间距 -->
      <slot></slot>
      <!-- <v-container >
        <slot></slot>
      </v-container> -->
    </v-main>

    <!-- <v-footer app> </v-footer> -->
  </v-app>
</template>
<script>
// import storage from "../../../utils/storage.js";
export default {
  name: "Root", // 设备点检
  props: {
    theme: {
      type: String,
      default() {
        return "dark";
      },
    },
    backgroundColor: {
      type: String,
      default() {
        return "#F2F3F5";
      },
    },
  },
};
</script>